package com.newtouch.bxzs.common.base.em;

/**
 * 两端编号枚举
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/25 9:42</td>
 * <td>linhongxi</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author linhongxi
 * @version 1.0.0
 * @since 1.0.0
 */
public enum DistributionTypeEnum {
	// 银行
    BANK("1","银行"),
    // 保险
    INSURANCE("2","保险");

    /**
     * 两端类型码
     */
    private String code;
    /**
     * 两端类型信息
     */
    private String information;

    /**
     *
     * @param code 枚举码
     * @param information 枚举值
     */
    DistributionTypeEnum(String code, String information){
        this.code=code;
        this.information=information;
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return information;
    }

}
